/*
 * @Author: chengrong.liu chengrong.liu@i-tudou.com
 * @Date: 2025-02-12 10:39:40
 * @LastEditors: chengrong.liu chengrong.liu@i-tudou.com
 * @LastEditTime: 2025-02-13 17:00:20
 * @FilePath: \hotel-manager\src\main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import { createApp } from 'vue'
import './style.css'
import App from './App.vue'

import router from './router'
import {createPinia} from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate) //使用持久化存储插件

createApp(App).use(router).use(ElementPlus).use(pinia).mount('#app')
